import http from '../utils/http'

async  function getLogin(params){
      let data = await http.post('login',params)
      return data
}

async  function getMenus(){
      let data = await http.get('menus')
      return data
}


export {getLogin,getMenus}